* { margin: 0; padding: 0; }

.notransition, .notransition * { /* animations turn-off switch */
  -webkit-transition: none !important;
  transition: none !important;
}
	
body{ 
	background:url("img/bg_beige2.jpg") repeat scroll left top white;
	font: 14px arial, sans-serif;
}

noscript div{
	position: absolute;
	top: 30%;
	left: 30%;
	padding: 10px 10px 10px 40px;
	border: 3px solid red;
	border-radius: 5px;
	background: white;
	box-shadow: 0 2px 0 white, 0 1px 3px #666 inset;
	font-size: 20px;
	z-index: 100;
}
noscript div img{
	margin: 0 10px -15px -30px;
}

#top div.title{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 25px;
	vertical-align: middle;
	text-align: center;
	text-shadow: 0 1px 0 white;
	-webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
}

#top .bottomarr{
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 400px;
	padding: 0;
	height: 8px;
	line-height: 5px;
	color: #666;
	cursor: pointer;
	opacity: 0;
	z-index: 2;
	text-shadow: 0 1px 0 white;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
}
#top .bottomarr span{
	display: inline-block;
	position: absolute;
	top: -4px;
	left: 3px;
}
#top .bottomarr:hover{ opacity: 1; }

html body div.opaque{ opacity: 1; }

img{ display: inline-block; }

svg.icon path{
	fill: #666;
	stroke: none;
}

span.svgicon{
	display: inline-block;
    padding-right: 5px;
    vertical-align: -4px;
    width: 18px;
    height: 18px;
}
span.svgicon[onclick]{ cursor: pointer; }

a, a:visited, a:active {
	color: brown;
	text-decoration: none;
	outline: none;
	cursor: pointer;
}
a:hover {
	color: red;
	text-decoration: underline;
}

a.button {
	outline: none;
	cursor: pointer;
    display: inline-block;
    white-space: nowrap;
    background-color: #d0d0d0;
    background: -webkit-linear-gradient(#f9f9f9, #d0d0d0);
    background: linear-gradient(#f9f9f9, #d0d0d0);
    border: 1px solid #888;
    padding: 6px 20px;
    margin: 8px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    color: #333;
    text-shadow: 0 1px 0 rgba(255,255,255,.9);
    border-radius: 18px;
    box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(255,255,255,.6);
    user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
}
a.button span{ display: inline-block; }

#top a.button{ padding: 6px 16px; }

a.button.square{
	border-radius: 3px;
	padding: 4px 8px;
}
#top a.button.square{
	padding: 5px 9px;
}

a.button.small{
	padding: 1px 6px;
	margin: 0 5px;
}

a.button.red, span.red{ color: red; }
span.orange{ color: orange; }
span.green{ color: green; }

a.button.disabled{ color: #888; }

a.button:hover {
    background-color: #dadada;
    background: -webkit-linear-gradient(#fcfcfc, #dcdcdc);
    background: linear-gradient(#fcfcfc, #dcdcdc);
    box-shadow: 0 0 3px #bbb;
}
#top a.button:hover{
	box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(255,255,255,.6);
}
a.button:active{
    position: relative;
    top: 1px;
    background-color: #eee;
    background: -webkit-linear-gradient(#dadada, #fafafa);
    background: linear-gradient(#dadada, #fafafa);
}

span.buttongroup{
	display: inline-block;
}
span.buttongroup a.button{
	border-radius: 4px;
	padding: 3px 5px;
	margin: 0;
}
span.buttongroup a.button.pressed{
	color: green;
	background-color: #ddd;
    background: -webkit-linear-gradient(#dadada, #ffffff);
    background: linear-gradient(#dadada, #ffffff);
}
span.buttongroup a.button.left{
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-right: none;
}
span.buttongroup a.button.middle{
	border-radius: 0;
	border-left: 2px groove white;
	border-right: none;
}
span.buttongroup a.button.right{
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-left: 2px groove white;
}

#top a.button .before{
    border-right: 2px groove white;
    display: inline-block;
    height: 25px;
    margin: -6px 6px -10px -9px;
    padding: 3px 3px 4px 0;
    width: 25px;
}

#top a.button .after{
	border-left: 2px groove white;
    border-radius: 0 18px 18px 0;
    display: inline-block;
    height: 23px;
    line-height: 15px;
    margin: -6px -8px -6px 6px;
    padding: 4px 0 5px 4px;
    width: 24px;
    vertical-align: -6px;
}
#top a.button .after svg.icon path, #top a.button:hover .after svg.icon path{
	stroke: none;
	fill: #666;
}
/* for firefox */
/*@-moz-document url-prefix() { a.button .before{ vertical-align: 5px; }}*/

#top a.button.left{
	width: 26px;
	height: 26px;
	border-right: none;
	border-radius: 18px 0 0 18px;
	padding: 3px 3px 3px 5px;
	margin-right: 0;
	vertical-align: 12px;
}
#top a.button.middle{
	height: 26px;
	line-height: 26px;
	width: 72px;
	overflow: hidden;
	border-left: 2px groove white;
	border-right: none;
	border-radius: 0;
	margin-left: 0;
	margin-right: 0;
	padding: 3px;
	vertical-align: top;
	text-align: center;
}
#top a.button.right{
	width: 26px;
	height: 26px;
	border-left: 2px groove white;
	border-radius: 0 18px 18px 0;
	padding: 3px 5px 3px 2px;
	margin-left: 0;
	vertical-align: 12px;
}

#historybtn span{
	box-shadow: 0 3px 3px -3px;
    float: left;
    margin-top: -35px;
    margin-left: -4px;
    padding: 1px 0 2px 2px;
    width: 76px;
	-webkit-transition: margin-top 0.6s ease-out;
	transition: margin-top 0.6s ease-out;
}

#top a.button svg.icon path{
	fill: #bbb;
	stroke: #444;
}
#top a.button:hover svg.icon path{
	fill: orange;
	stroke: #444;
}
#top a.button.disabled svg.icon path{
	fill: none;
	stroke: #aaa;
}

#top a.button span.btnsection{
	border-left: 2px groove white;
	padding-left: 3px;
	margin-left: 5px;
}

#statusbtn .nr{
	background: #888;
    border-radius: 10px;
    box-shadow: 0 1px 0 white, 0 1px 3px black inset;
    color: white;
    font-weight: normal;
    padding: 1px 6px;
    text-shadow: none;
}
#statusbtn .nr.green{ background: green; }
#statusbtn .nr.red{ background: red; }

#top div.buttonblock{
	position:absolute;
	top:20px;
	-webkit-transition: top 0.5s;
	transition: top 0.5s;
}

#logo{
	right: 150px;
	cursor: pointer;
	padding-top: 8px;
}
#logo .toptext{
	opacity: 0;
	cursor: pointer;
	-webkit-transition: opacity ease 0.2s;
	transition: opacity ease 0.2s;
	text-align: left;
	padding-left: 30px;
}
#logo:hover .toptext{ opacity: 1; }

#zoombtns { vertical-align: bottom; }
#top a.zoom {
	margin: 8px 2px;
	font-size: 32px;
    font-weight: normal;
    line-height: 14px;
    padding: 9px 8px;
    width: 18px;
    text-align: center;
    vertical-align: bottom;
}
#top #zoomout{ padding-bottom: 11px; padding-top: 7px; }
#zoombtns .zoomperc{
	top: -10px;
	font-weight: bold;
	opacity: 0;
}
#zoombtns:hover .zoomperc{ opacity: 1 }

a.button span.light{
	width: 6px;
	height: 12px;
	margin-right: 5px;
	/*background-color: #ff0000;
	border: 1px solid #c50000;*/
	background-color: #0A7B00;
	border: 1px solid #0A3B00;
	box-shadow: 0 1px 0 white, 0 2px 2px #0A1B00 inset;
	/*box-shadow: 0 1px 0 white, 0 2px 2px -1px white inset;*/
	border-radius: 3px;
	vertical-align: -1px;
 	-webkit-transition: all .2s;
 	transition: all .2s;
}
a.button.on span.light{
	background-color: #0ABB00;
	border: 1px solid #0A9B00;
	box-shadow: 0 1px 0 white, 0 2px 2px -1px white inset;
}

a.button span.text{
	width: 32px;
	text-align: center;
	color: #666;
}
a.button.on span.text{ color: #333; }

span.right{
	display: inline-block;
	position: absolute;
	right: 5px;
}


#filewrap{
	text-transform: capitalize;
	white-space: nowrap;
}
div.buttonmenuwrap{
	opacity: 0;
	position: absolute;
	top: 52px;
	left: 3px;
	min-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	border-top: 1px solid #888;
	-webkit-transition: opacity 0.1s ease 0.6s;
	transition: opacity 0.1s ease 0.6s;
	z-index: 70;
}
div.buttonmenuwrap.visible{
	opacity: 1;
	-webkit-transition: opacity 0.1s, top 0.5s;
	transition: opacity 0.1s, top 0.5s;
}
div.buttonmenuwrap.lower{ top:62px; }
div.buttonmenuwrap .topshadow{
	position: absolute;
	width: 90%;
	left: 5%;
	top: -15px;
	height: 10px;
	box-shadow: 0 0 28px black;
}
div.buttonmenuwrap .menuborder{
	position: absolute;
	width: 100%;
	height: 1px;
	border-top: 1px solid white;
}
div.buttonmenuwrap .buttonmenu{
	position: relative;
	background-color: white;
	background-color: rgba(255,255,255,0.95);
	margin: -200px 3px 5px 3px;
	font: 18px Arial;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
	box-shadow: 0 2px 3px -1px #666;
	-webkit-transition: margin-top 0.7s;
	transition: margin-top 0.7s;
}
div.buttonmenuwrap div.buttonmenu span.right{
	margin-top: 3px;
	line-height: 15px;
	width: 15px;
	height: 15px;
}
div.buttonmenuwrap div.buttonmenu img.right{
	position: absolute;
	right: 5px;
	height: 20px;
	vertical-align: bottom;
}
div.buttonmenuwrap .buttonmenu ul{
	margin: 0;
	padding: 0;
}
div.buttonmenuwrap .buttonmenu ul li{
	list-style-type:none;
	margin: 0;
	padding: 3px 6px;
	cursor: pointer;
	border-top: 1px solid #999;
	-webkit-transition: background-color 0.3s;
	transition: background-color 0.3s;
}
div.buttonmenuwrap .buttonmenu ul li:hover{
	background-color: #99c5f6;
}

#page{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-height: 600px;
	min-width: 1000px;
}
/* collapsed/hidden menubar */
body.mintop #top { height: 50px; }
body.mintop #top.hidden { top: -40px; }
body.mintop #top.hidden:hover { top: 0; }
body.mintop #top div.title, body.mintop #top div.toptext, body.mintop #bottom{ opacity: 0; }
body.mintop #top div.buttonblock{ top: -3px; }
body.mintop #top #logo{ top: -6px; }
body.mintop.hiddentop #top #logo{ top: -11px; }
body.mintop #top div.buttonmenuwrap{ top: 47px; }
body.mintop #left{ top: 90px; bottom: 28px; }
body.mintop.hiddentop #left{ top: 50px; }
body.mintop #namesborderDragline{ top: 70px; }
body.mintop.hiddentop #namesborderDragline{ top: 30px; }
body.mintop #right{ top: 60px; bottom: 10px; }
body.mintop.hiddentop #right{ top: 20px; }

#top{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 90px;
	-webkit-transform: translateY(0px);
	transform: translateY(0px);
	background: url(img/bg_top.jpg) repeat-x bottom left;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 -1px 0 0 rgba(255, 255, 255, 0.4) inset;
	-webkit-transition: height 0.5s, top 0.3s, -webkit-transform 0.5s;
	transition: height 0.5s, top 0.3s, transform 0.5s;
	z-index: 50;
}
#top.away{
	-webkit-transform: translateY(-100px);
	transform: translateY(-100px);
}
.toptext{
	position: absolute;
	top: 45px;
	width: 100%;
	color: #555;
	text-shadow: 0 1px 0 white;
	text-align: center;
	cursor: default;
	white-space: nowrap;
	transition: opacity 0.5s;
}

#left {
	position: absolute;
	top: 130px;
	left: 10px;
	bottom: 68px;
	width: 300px;
	overflow: hidden;
	-webkit-transition: top 0.5s, bottom 0.5s;
	transition: top 0.5s, bottom 0.5s;
}

 #treewrap{
 	position: absolute;
 	display: none;
 	top: 0;
 	left: 0;
 	right: 10px;
 	bottom: 15px;
 	background-color: white;
 	box-shadow: -3px 0 3px -3px rgba(0, 0, 0, 0.6) inset;
 }
 
 #tree circle, #names text{
 	cursor: pointer;
 }
 #left.dragmode #tree circle, #left.dragmode #names text{
 	cursor: default;
 } 
 
 #treewrap.minimal #tree circle, #treewrap.minimal #tree line[stroke-dasharray], #treewrap.minimal #names svg{
 	display: none;
 }
 
  #tree{
 	position: absolute;
 	top: 0;
 	left: 0;
 	right: 80px;
 	height: 100%;
  }
  
  #tree line{
  	stroke: rgb(0,0,0);
  	stroke-width: 1;
  	stroke-linecap: round;
  }
  
  
  #left.dragmode #tree line.horizontal{
  	stroke: rgb(170,170,170);
  	stroke-width: 6;
  	stroke-dasharray: none;
  	stroke-linecap: butt;
  }
  
  #left.dragmode #tree line.horizontal:hover{
  	stroke: orange;
  }
  
  #notree, #noseq{
  	position: absolute;
  	display: none;
  	top: 40%;
  	width: 80%;
  	text-align: center;
  	font-size: 36px;
    color: #EEE9E3;
    text-shadow: 0 0 1px #BBB9B3, 0 -1px 1px #666165;
  }
  
  #names{
 	position: absolute;
 	top: 0;
 	margin-top: 3px;
 	right: 0;
 	width: 80px;
 	height: 100%;
 	border-left: 1px solid white;
 	transition: border-color 0.5s;
 	-webkit-transition: border-color 0.5s;
 	box-shadow: -1px 0 0 #ccc inset, -2px -2px 3px #ddd inset;
 	overflow: hidden;
 	background-color: white;
 	white-space: nowrap;
  }
  #names span{
  	display: block;
  	position: relative;
  	cursor: default;
  	padding-left: 3px; 
  	font-family: Verdana;
 	-webkit-transition: height 0.5s;
 	transition: height 0.5s;
  }
  #names span:hover{
  	color: red;
  }
  
  #bottomfade{
  	position: absolute;
  	bottom: 0;
  	left: 0;
  	right: 0;
  	height: 10px;
	background: -webkit-linear-gradient(rgba(255,255,255,0), #fef9e6);
	background: linear-gradient(rgba(255,255,255,0), #fef9e6);
  }
  #topfade{
  	position: absolute;
  	top: 0;
  	left: 0;
  	right: 0;
  	height: 10px;
	background: -webkit-linear-gradient(#fef9e6, rgba(255,255,255,0));
	background: linear-gradient(#fef9e6, rgba(255,255,255,0));
  }
  
  
 #borderDrag{
 	position: absolute;
 	right: 0;
 	top: 30%;
 	color: #999;
 	font-size: 20px;
 	height: 200px;
 	width: 10px;
 	line-height: 200px;
 	text-align: center;
 	cursor: move;
 	-moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
 }


#namelabel{
	position: absolute;
	font-family: Verdana;
	opacity: 0;
	overflow: hidden;
	z-index: 25;
	border-radius: 0 3px 3px 0;
	box-shadow: 2px 1px 2px rgba(0,0,0,0.4);
	transition: opacity 0.2s;
	-webkit-transition: opacity 0.2s;
}
#namelabel span, #draggedlabel{
	border-radius: 5px;	
	background-color: white;
	padding: 2px;
	color: red;
}

#draggedlabel{
	position: absolute;
	font-family: Verdana;
	box-shadow: 2px 2px 4px #444;
	z-index: 45;
}

#draggedtree{
	position: absolute;
	opacity: 0.9;
	box-shadow: 2px 2px 5px #444;
	border-radius: 3px;
	z-index: 45;
}


#right {
	position: absolute;
	left: 310px;
	right: 0;
	top: 100px;
	bottom: 50px;
	-webkit-transition: top 0.5s, bottom 0.5s;
	transition: top 0.5s, bottom 0.5s;
}

 #namesborderDragline{
 	position: absolute;
 	left: 5px;
 	top: 110px;
 	width: 297px;
 	height: 3px;
 	box-shadow: 0 1px 2px #777 inset, 0 1px 0 white;
 	-webkit-transition: top 0.5s;
 	transition: top 0.5s;
 }
 #namesborderDragline.dragmode{ display: none }
 #namesborderDrag{
 	position: absolute;
 	left: 208px;
 	color: #999;
 	height: 20px;
 	width: 10px;
 	text-align: center;
 	-moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    border-radius: 3px;
    top: -5px;
 }
 
  #page div.treescroll{
 	position: absolute;
 	left: 20px;
 	height: 32px;
 	padding-top: 2px;
 	border-radius: 5px;
 	color: #333;
 	text-align: center;
 	text-shadow: 0 1px 1px white;
 	font-size: 20px;
 	cursor: default;
 	z-index: 1;
 }
 #page div.treescroll.up{
 	top: 98px;
 	background: -webkit-linear-gradient(rgba(200,200,200,0.9), rgba(200,200,200,0));
	background: linear-gradient(rgba(200,200,200,0.9), rgba(200,200,200,0));
	box-shadow: 0 1px 1px #888 inset;
 }
 #page div.treescroll.down{
 	bottom: 36px;
 	line-height: 36px;
 	background: -webkit-linear-gradient(rgba(200,200,200,0), rgba(200,200,200,0.9));
	background: linear-gradient(rgba(200,200,200,0), rgba(200,200,200,0.9));
 	box-shadow: 0 -1px 1px #888 inset;
 }

img#leftshadow{
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 42px;
}
img#rightshadow{
	position: absolute;
	right: -1px;
	top: 0;
	height: 100%;
	width: 51px;
}

#treebin{
	position: absolute;
	background: rgba(0,0,0,0.8);
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 30;
	display: none;
	opacity: 0.6;
	transition: opacity 0.4s;
	-webkit-transition: opacity 0.4s;
}
#right.dragmode #treebin{
	display: block;
}
#right.dragmode:hover #treebin{
	opacity: 1;
}
#treebin > div{
	top: 40%;
	left: 30%;
	position: absolute;
	width: 120px;
	height: 120px;
}
#treebin svg.icon path{
	fill: white;
}


#seqwindow {
	position: absolute;
	top: 0;
	left: 0;
	right: 30px;
	bottom: 20px;
	overflow: hidden;
	border: 1px solid #ccc;
	border-top: none;
	box-shadow: 0 1px 0 white;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}
 #spinner{
 	display: none;
 	position: absolute;
 	opacity: 0;
 	top: 50%;
 	left: 40%;
 }
 #wrap {
 	position: absolute;
 	left: 0;
 }
  #ruler {
  	position: relative;
  	margin-top: 3px;
  	margin-left: 0;
  	padding: 1px 0;
	height: 20px;
	font-weight: bold;
	background-image: -webkit-linear-gradient(#dadada 20%, #efefef 60%, #ffffff 100%);
	background-image: linear-gradient(#dadada 20%, #efefef 60%, #ffffff 100%);
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #aaa;
	box-shadow: 0 3px 5px rgba(0,0,0,0.2), 0 1px 1px white inset, 0 -2px 2px #ccc inset;
	white-space: nowrap;
	z-index: 1;
	cursor: move;
  }
  
    #ruler span{
    	display: inline-block;
    	margin-top: 1px;
    	padding-left: 2px;
    	border-left: 2px groove white;
    	height: 18px;
    	line-height: 18px;
    	width: 60px;
    	color: #444;
    	text-shadow: 0 1px 0 white;
    }
    #ruler span span{
    	position: relative;
    	padding: 0;
    	margin: 0;
    	border: none;
    }
    #ruler div.marker{
    	position: absolute;
    	top: 4px;
    	color: #B01;
    	text-shadow: 0 4px 3px #666;
    	cursor: pointer;
    	z-index: 21;
    	height: 20px;
    	font-size: 14px;
    	line-height: 8px;
    	width: 19px;
    	overflow: hidden;
    	text-align: center;
    }
    #ruler div.marker.small{
    	font-size: 11px;
    }
    #ruler div.marker.big{
    	font-size: 19px;
    }
    #ruler div.marker div{ font-size: 12px; }

#seqwrap {
	position: relative;
	padding-top: 5px;
	margin-left: 0;
	overflow: hidden;
	background-color: white;
}

#seq{ position: relative; }

#seq div.tile{
	position: absolute;
	opacity: 0;
	-webkit-transition: opacity .3s;
	transition: opacity .3s;
}


.draggerline{
	background: #eee;
    border-radius: 2px;
    box-shadow: 0 1px 3px #333 inset, 0 1px 0 white;
    height: 5px;
}
.draggerline.vertical{
	height: auto;
    width: 5px;
    box-shadow: 1px 1px 3px #333 inset, 1px 0 0 white;
}
span.draggerline{
	display: inline-block;
	width: 250px;
	margin: 2px 5px;
}
#right .draggerline{
  	position: absolute;
  	cursor: pointer;
  	z-index: 25;	
}
#horizontalDragger{
	left: 20px;
	right: 45px;
	bottom: 3px;
	display: none;
}  
#verticalDragger{
	top: 20px;
	right: 12px;
	bottom: 40px;
	display: none;
}
  .dragger{
  	position: absolute;
	background-color: #ececec;
	margin-top: -4px;
	background: -webkit-linear-gradient(#fafafa, #d0d0d0);
	background: linear-gradient(#fafafa, #d0d0d0);
	border-radius: 7px;
	cursor: move;
	width: 13px;
	height: 13px;
	box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 0 2px #555;
  }
  .draggerline.vertical .dragger{
  	margin-top: auto;
	margin-left: -4px;
	background: -webkit-linear-gradient(left, #fafafa, #dadada);
	background: linear-gradient(to right, #fafafa, #dadada);
  }
  .dragger:hover{
  	box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 0 3px #111;
  }
  .dragger.pressed, .dragger.ui-draggable-dragging{
	background: -webkit-linear-gradient(#dadada, #fafafa);
	background: linear-gradient(#dadada, #fafafa);
  }
  .draggerline.vertical .dragger.pressed{
	background: -webkit-linear-gradient(left, #dadada, #fafafa);
	background: linear-gradient(to right, #dadada, #fafafa);
  }
  .scrollBtn{
  	position: absolute;
  	font-size: 24px;
  	font-weight: normal;
  	height: 20px;
  	line-height: 20px;
  	color: #ddd;
  	text-shadow: rgba(0,0,0,0.5) -1px 0, rgba(0,0,0,0.3) 0 -1px, rgba(255,255,255,0.5) 0 1px;
  	cursor: pointer;
  	overflow: hidden;
  	-moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
  }
  .scrollBtn:hover{
  	color: #bbb;
  }
  .scrollLeftBtn{
  	top: -7px;
  	left: -20px;
  }
  .scrollRightBtn{
  	top: -7px;
  	right: -20px;
  }
  .scrollUpBtn{
  	top: -25px;
  	left: -5px;
  }
  .scrollDownBtn{
  	bottom: -25px;
  	left: -5px;
  }

div.tooltip, div.tooltip.black{
	position: absolute;
	background-color: rgba(0,0,0,0.87);
	border: 2px solid #FFF;
	border-radius: 5px;
	box-shadow: 0 1px 5px #333;
	font: 15px Arial;
	color: white;
	padding: 1px;
	z-index: 70;
	white-space: nowrap;
	opacity: 0;
	-webkit-transition: opacity .2s ease-out, -webkit-transform .2s ease-out;
    transition: opacity .2s ease-out, transform .2s ease-out;
}
#treemenu{ padding-bottom: 0; }
div.tooltip.white{
	background-color: rgba(250,250,250,0.98);
	color: black;
	box-shadow: 0 2px 6px -1px #333;
}
div.tooltip.beige{
	background-color: rgba(250,240,200,0.98);
	color: black;
	box-shadow: 0 2px 6px -1px #333;
}

div.tooltip svg.icon path{ fill: white; }
div.tooltip.white svg.icon path{ fill: #444; }

div.tooltip.opaque{
	opacity: 1;
	-webkit-transform: translate(0,0);
	transform: translate(0,0);
}

.tooltip .arrow{
	position: absolute;
	display: none;
	width: 12px;
	height: 12px;
	-webkit-transform: rotate(45deg) skewX(-10deg) skewY(-10deg);
    transform: rotate(45deg) skewX(-10deg) skewY(-10deg);
	background-color: rgba(0,0,0,0.87);
	box-shadow: 0 0 3px #333;
}
.tooltip.white .arrow{
	background-color: rgba(250,250,250,0.98);
	border: none;
	box-shadow: -2px 2px 3px -2px #666;
}
.tooltip.leftarrow{
	-webkit-transform: translateX(10px);
	transform: translateX(10px);
}
.tooltip.leftarrow > .arrow{
	display: block;
	left: -9px;
	top: 4px;
	border-left: 2px solid #FFF;
	border-bottom: 2px solid #FFF;
}
.tooltip.toparrow{
	-webkit-transform: translateY(10px);
	transform: translateY(10px);
}
.tooltip.toparrow > .arrow{
	display: block;
	left: 50%;
	margin-left: -7px;
	top: -8px;
	border-left: 2px solid #FFF;
	border-top: 2px solid #FFF;
}
.tooltip.bottomarrow{
	-webkit-transform: translateY(-10px);
	transform: translateY(-10px);
}
.tooltip.bottomarrow > .arrow{
	display: block;
	left: 50%;
	margin-left: -7px;
	top: auto;
	bottom: -8px;
	border-right: 2px solid #FFF;
	border-bottom: 2px solid #FFF;
}
.tooltip.white.toparrow > .arrow{ box-shadow: -2px -2px 3px -2px #666; border: none; } 
.tooltip.white.bottomarrow > .arrow{ box-shadow: 2px 2px 3px -2px #666; border: none; }

.tooltip canvas{ vertical-align: -5px; }

.tooltiptitle{
	position: relative;
	padding: 1px 5px;
}
div.tooltip.greytitle .tooltiptitle{
	color: #888;
}
#treemenu .tooltiptitle{ padding-right: 2px; }
#treemenu .tooltiptitle span.svgicon{
	margin-left:5px;
	padding-right:0;
}
div.tooltiptitle > span.title{
	display: inline-block;
	width: 100px;
	cursor: default;
	overflow: hidden;
	margin-right: -4px;
}
div.tooltip div.tooltiptitle span.right{
	right: 5px;
    margin-left: 3px;
    vertical-align: 5px;
}

div.tooltip span.right{
	right: 10px;
	line-height: 18px;
}
div.tooltip li.arr {
	padding-right: 13px;
}
div.tooltip li.arr span.right{
	right: 3px;
}

div.tooltipcontentwrap{
	position: relative;
	-webkit-transition: height 0.8s cubic-bezier(0.2,1,0.2,1);
	transition: height 0.8s cubic-bezier(0.2,1,0.2,1);
}
div.tooltipcontentwrap.hidden{
	height: 0;
	overflow: hidden;
}

div.tooltip ul{
	margin: 0;
	padding: 0;
	border-top: 1px solid #999;
}
div.tooltip.nomenu ul{ border-top: none; margin: 0 3px; }

div.tooltip ul li{
	list-style-type:none;
	margin: 0;
	padding: 2px;
	cursor: pointer;
}
div.tooltip.nomenu ul li{ list-style: disc inside; }

div.tooltip ul li:first-child{
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}
div.tooltip ul li:last-child{
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
}
div.tooltip.white ul li:first-child{
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}
div.tooltip.white ul li:last-child{
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}
div.tooltip ul li:hover{
	text-shadow: 0 1px 3px #333;
	color: white;                         
	background: -webkit-linear-gradient(#6589ff,#1943f3);
	background: linear-gradient(#6589ff,#1943f3);
}
div.tooltip.white ul li:hover{
	text-shadow: 0 1px 3px #333;
	color: white;                      
	background: -webkit-linear-gradient(#88b2ff,#3e5dff);
	background: linear-gradient(#88b2ff,#3e5dff);
}
div.tooltip ul li:hover div{ text-shadow: none; }
div.tooltip ul li:hover svg.icon path, div.tooltip.white ul li div ul li:hover svg.icon path{ fill : white }
div.tooltip.white ul li:hover div svg.icon path{ fill : #444 }

div.tooltip ul a { color: orange; }


#seq div.selection{
	position: absolute;
	background-color: rgba(0,0,0,0.3);
	color: white;
	border: 1px solid white;
	box-shadow: 0 0 3px #666;
	display: none;
	opacity: 1;
	z-index: 2;
	user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    cursor: default;
}
#seq div.selection div.description{
	font: 15px Arial;
	text-shadow: 0 0 3px black;
	position: absolute;
	top: 40%;
	width: 100%;
	text-align: center;
	opacity: 1;
}

#seq div.selection div.rbresize, #seq div.selection div.ltresize{
	position: absolute;
	height: 50%;
	max-height: 10px;
	width: 50%;
	max-width: 10px;
	opacity: 0;
	transition: opacity .2s;
	-webkit-transition: opacity .2s;
}
#seq div.selection div.rbresize{
	right: 3px;
	bottom: 3px;
	border-right: 2px solid white;
	border-bottom: 2px solid white;
	cursor: se-resize;
}
#seq div.selection div.ltresize{
	left: 3px;
	top: 3px;
	border-left: 2px solid white;
	border-top: 2px solid white;
	cursor: nw-resize;
}

#seq div.selectioncross{
	position: absolute;
	background-color: rgba(0,0,0,0.3);
	display: none;
	opacity: 1;
	z-index: 1;
	box-shadow: 0 0 3px #666;
	user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    border: 1px solid white;
}

#seq div.selectioncross div.rresize, #seq div.selectioncross div.lresize{
	position: absolute;
	height: 100%;
	width: 50%;
	max-width: 10px;
	opacity: 0;
	-webkit-transition: opacity .2s;
	transition: opacity .2s;
}
#seq div.selectioncross div.rresize{
	right: 2px;
	top: 0;
	border-right: 2px solid white;
	cursor: e-resize;
}
#seq div.selectioncross div.lresize{
	left: 2px;
	top: 0;
	border-left: 2px solid white;
	cursor: w-resize;
}

#seq div.selectioncross div.tresize, #seq div.selectioncross div.bresize{
	position: absolute;
	width: 100%;
	height: 50%;
	max-height: 10px;
	opacity: 0;
	-webkit-transition: opacity .2s;
	transition: opacity .2s;
}
#seq div.selectioncross div.tresize{
	left: 0;
	top: 2px;
	border-top: 2px solid white;
	cursor: n-resize;
}
#seq div.selectioncross div.bresize{
	left: 0;
	bottom: 2px;
	border-bottom: 2px solid white;
	cursor: s-resize;
}

#right div.rowborder{
	position: absolute;
	display: none;
	opacity: 0;
	left: 0;
	width: 100%;
	border: 1ps solid black;
	box-shadow: 0 0 5px black;
	-webkit-transition: opacity .3s;
	transition: opacity .3s;
    z-index: 1;
}
#right div.rowborder.opaque{
	opacity: 1;
	-webkit-transition: top .4s;
    transition: top .4s;
}


#backfade{
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 58;
	/*background-color: rgba(0,0,0,0.6);*/
	background: -webkit-radial-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.9));
	background: -o-radial-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.9));
	background: radial-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.9));
	-webkit-transition: opacity .4s;
    transition: opacity .4s;
	display: none;
}

div.zoomin{
	opacity: 0;
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
	-webkit-transition: opacity .4s ease-out, -webkit-transform .4s ease-out;
    transition: opacity .4s ease-out, transform .4s ease-out;
}
div.zoomin.zoomed{
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}
div.zoomin.zoomed.finished{
	-webkit-transform: none;
	transform: none;
}

div.popupwrap{
	position: absolute;
	top: 50px;
	left: 40%;
	-webkit-perspective: 500px;
	-moz-perspective: 700px;
	perspective: 700px;
	z-index: 60;
}
/*div.popupwrap div{ -moz-transform-style: preserve-3d; -moz-backface-visibility: hidden; }*/

div.popupwindow{
	position: absolute;
	top: 100px;
	left: 20%;
	background: #f0f0f0;
	box-shadow: 0 5px 15px -3px #000000, 0 0 1px 1px rgba(255, 255, 255, 0.8) inset;
	text-shadow: 0 1px 0 white;
	border-radius: 5px;
	white-space: nowrap;
	z-index: 60;
}
div.popupwrap div.popupwindow{
	top: 0;
	left: 0;
}

div.popupwindow div.sectiontitle{
	position: relative;
	height: 1px;
	border-top: 2px groove white;
	text-align: center;
	margin: 10px 0 15px 0;
}
div.popupwindow div.sectiontitle>span{
	position: relative;
	top: -10px;
	background-color: #f0f0f0;
	padding: 0 10px;
	font-weight: bold;
}
div.popupwindow div.sectiontitle>span.svg{
	position: absolute;
	right: 0;
	display: inline-block;
	top: -12px;
	background-color: #f0f0f0;
	padding: 0 0 0 5px;
	height: 20px;
	width: 20px;
}
div.popupwindow div.sectiontitle>img{
	display: inline-block;
	position: absolute;
	left: 0;
	padding-right: 5px;
	height: 20px;
	background-color: #f0f0f0;
	top: -12px;
}
div.popupwindow div.sectiontext{
	white-space: normal;
	padding:0 10px 10px;
}

div.side{
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
    -webkit-transition: -webkit-transform 0.7s ease-in-out;
    transition: transform 0.7s ease-in-out;
}

div.back{
	-webkit-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
	z-index: 61;
}
div.flipped div.back{
	-webkit-transform: rotateY(0deg);
	transform: rotateY(0deg);
	z-index: 62;
}

div.front{ z-index: 62; }
div.finished div.front{ backface-visibility: visible; }
div.flipped div.front{
	backface-visibility: hidden;
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
	z-index: 61;
}

img.closebtn{
	display: block;
	position: absolute;
	top: -15px;
	right: -15px;
	cursor: pointer;
}

div.windowtitle{
	position: absolute;
	top: 0;
	width: 100%;
	height: 30px;
	font-size: 24px;
	text-align: center;
	text-shadow: 0 1px 1px white;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	background: url("img/bg_top.jpg") repeat-x scroll left center white;
	cursor: move;
	border-bottom: 1px solid white;
	box-shadow: 0 -5px 5px -5px rgba(0, 0, 0, 0.6) inset, 0 1px 0 0 white inset;
}

div.windowheader{
	margin-top: 40px;
	position: relative;
	padding: 5px 5px 5px 10px;
}
div.windowcontent{
	margin-bottom: 10px;
	position: relative;
	padding: 10px;
	padding-top: 1px;
	max-height: 600px;
	min-width: 300px;
	max-width: 500px;
	overflow: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}

div.windowcontent ul{ margin-left: 20px; }
div.windowcontent ul li{ margin-top: 5px; white-space: nowrap; }

div.windowcontent div.btndiv{
	text-align: center;
	margin: 10px 0 -10px;
}
div.btndiv a.button{ margin: 0 5px; }

div.windowcontent span.cell{
	display: inline-block;
	padding: 0 10px 5px 5px;
}

div.filedrag{
	display: inline-block;
	position: relative;
	width: 200px;
	height: 20px;
	margin: 10px;
	border: 2px dashed #aaa;
	color: #aaa;
	font-size: 18px;
	font-weight: bold;
	border-radius: 5px;
	padding: 5px;
	text-align: center;
}

div.dragover{
	background-color: #eee;
	text-shadow: 0 1px 1px white;
	border-color: orange;
}

input{
	width: 60px;
	font-size: 16px;
	border: 1px solid #999;
	margin: 0 5px 5px 0;
	padding-left: 5px;
	border-radius: 3px;
	background: white url(img/input_bg.png) top left repeat-x;
	box-shadow: 0 1px 0 white;
	-webkit-transition: all .4s;
	transition: all .4s;
}
input:hover, input.transparent:hover, input:focus, input.transparent:focus, input.hidden:focus{
	border-color: #555;
	background-color: white;
}

input.transparent{
	background: rgba(255,255,255,0.1);
	border-color: rgba(100,100,100,0.1);
	width: 250px;
}
input.hidden, input.static, input.faded{
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	width: 250px;
}
input.faded, input.hidden:hover{ background: rgba(255,255,255,0.6); }
#library input.transparent, #library input.hidden{
	margin: 0;
	font-size: 14px;
	height: 18px;
	padding-left: 3px;
	width: 220px;
}

input.static{
	font-size: 14px;
	text-shadow: 0 1px 0 white;
	cursor: default;
}
input.static.editable, #top input.static.editable{
	background-color: white;
	cursor: text;
	border-color: #999;
    box-shadow: 0 4px 8px #ddd inset, 0 1px 0 white;
}
#top input.static{
	width: 200px;
	max-width: 400px;
	position: relative;
	margin: 5px auto 0 auto;
	cursor: pointer;
	text-align: center;
	-webkit-transition: border-color .4s, background-color .4s, opacity .4s;
	transition: border-color .4s, background-color .4s, opacity .4s;
}
#top input.static:hover{
	color: #f70;
}
#top input.static.editable:hover{
	color: black;
}

input.url{
	width: 300px;
}
input.url:focus:invalid {
    border-color: red;
}
input.url:focus:valid {
    border-color:green;
}

input.digit{
	margin-right: 0;
    padding-left: 0;
    text-align: center;
    width: 27px;
}

input[type="checkbox"]{
	width: 16px;
	height: 16px;
	margin: 0 3px 5px 5px;
	vertical-align: -2px;
}

span.label{
	cursor: default;
}
span.label:hover{
	color: orange;
}

a.button.urladd {
	margin: 0 5px;
	font-size: 25px;
    font-weight: normal;
    line-height: 14px;
    padding: 4px 2px 3px;
    width: 18px;
    color: #444;
    text-align: center;
    vertical-align: -2px;
}
a.button.urladd:hover {
	color: black;
	box-shadow: 0 0 2px #bbb;
}

span.icon{ margin-left:5px }

img.icn{ height: 20px; vertical-align: bottom; }
img.small{ height: 16px; }
img.icn.action{ cursor: pointer; }
img.icn.action:hover{ box-shadow: 0 1px 2px #999 inset; }

img.windowicn{
    position: absolute;
	height: 25px;
	top: 2px;
    left: 10px;
}
img.optadd,.rotateable{
	display: inline-block;
	color: #333;
	cursor: default;
	text-shadow: none;
	font-size: 12px;
	vertical-align: 1px;
	-webkit-transition: all .2s;
	transition: all .2s;
}
.rotated{
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.rotateddown{
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

/* item boxes inside windows */
div.insidediv{
	padding: 10px 10px 5px 10px;
	margin: 5px 0 -10px;
	border: 1px solid white;
	border-radius: 3px;
	box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.4) inset, 0 -4px 3px -4px rgba(0, 0, 0, 0.4) inset;
}

div.insidediv div.row{ padding: 10px 5px 5px; margin-bottom: 5px; }
div.insidediv div.row.btnrow{ padding-right: 75px; }
div.insidediv div.row.bottombtn{ padding-bottom: 10px; }
div.insidediv div.row:nth-child(odd){ background-color: rgba(255,255,255,0.6); }
div.insidediv div.row>a.button, div.insidediv div.row>div>a.button{
	position: absolute;
	right: 15px;
	margin-top: -3px;
    padding: 2px 6px 1px 6px;
}
div.insidediv div.row>span.buttongroup{ margin: -10px 0 0 5px; }
div.insidediv div.row a.button:active{ top: auto; }
div.insidediv div.row span.note{
	padding-top: 5px;
	color: #999;
}

div.insidediv.logdiv{
	color: #666;
	max-width: 400px;
	max-height: 300px;
	overflow: auto;
	margin-bottom: 5px;
	padding: 5px 1px;
	display: none;
}
/* file directory list */
div.insidediv.logdiv div.row{ padding: 2px 5px; }
/*div.insidediv.logdiv div.row:nth-child(odd){ background-color: rgba(255,255,255,0.5); }*/
div.insidediv.logdiv div.row a.button{
	right: 35px;
	padding: 1px 6px;
	border-radius: 3px;
}
/*div.insidediv.logdiv div.row a.button:active{ top:auto; }*/
div.insidediv.logdiv div.row span.note{
	padding-left: 10px;
	color: #aaa;
	font-weight: bold;
}
div.insidediv.logdiv a.button, div.insidediv.logdiv span.note{ opacity: 0; }
div.insidediv.logdiv div.row:hover a.button, div.insidediv.logdiv div.row:hover span.note{ opacity: 1; }

#jobstatus div.insidediv{
	margin-bottom: 10px;
}

hr{ color:white; box-shadow:0 2px 6px #ddd; margin:5px 0; }

/* items in libary/jobs list */
div.itemdiv{
	position: relative;
	min-width: 330px;
	min-height: 40px;
	overflow: hidden;
	-webkit-transition: height 0.4s;
	transition: height 0.4s;
}
#library div.itemdiv{
	height: 65px;
	padding: 5px 0 0 5px;
	min-width: 370px;
}
div.itemdiv.activeitem{
	background-color: white;
	box-shadow: 0 0 5px #999;
	border-radius: 3px;
}
div.itemdiv a.button.activeitem{
	background: white;
	box-shadow: 0 0 5px #999;
}

div.insidediv > hr:last-child{ display: none; }
div.itemdiv a.button.itembtn{
	position: absolute;
	margin: 0;
	right: 15px;
	top: 25%;
}

#library div.itemdiv a.button.itembtn{
	top: 8px;
	right: 5px;
}

#library div.itemdiv a.button.removebtn{
	border-radius: 3px;
    color: red;
    padding: 3px 8px;
    right: 20px;
    top: 60px;
}

#library div.itemdiv a.button.childbtn{
	border-radius: 3px;
    padding: 3px 5px 3px 3px;
    left: 220px;
    right: auto;
    top: 28px;
}
/* 'back to parent' button */
#library span.dirtrail{
	display: inline-block;
	max-width: 260px;
	overflow: hidden;
	font-weight: bold;
	margin-left: 4px;
	color: #666;
}
#library span.dirtrail a.button.small{
	margin: 6px 3px 3px 3px;
	font-size: 15px;
}

div.itemdiv a.button span.svg{
	display: inline-block;
	width: 20px;
	height: 20px;
	vertical-align: -4px;
}

div.itemdiv a.button svg path{
	fill: white;
	stroke: black;
}
div.itemdiv a.button:hover svg path{
	fill: orange;
	stroke: black;
}

span.note{
	display: inline-block;
	color: #666;
	cursor: default;
}
div.tooltip span.note{ color: #ccc; }

span.actiontxt{
	display: inline-block;
	cursor: pointer;
	color: #369;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}
span.actiontxt:hover{ color: orange; }
span.itemexpand{
	position: absolute;
	right: 15px;
	bottom: -2px;
	color: #666;
}
/* fading-end textline */
span.logline{
	display: inline-block;
	position: relative;
	max-width:300px;
	margin-right: 10px;
	white-space:nowrap;
	overflow:hidden;
	vertical-align: -4px;
}
span>span.fade{
	display: inline-block;
	position: absolute;
  	top: 0;
  	left: 92%;
  	width: 35px;
  	height: 100%;
	background: -webkit-linear-gradient(left, rgba(240,240,240,0), rgb(240,240,240));
	background: linear-gradient(to right, rgba(240,240,240,0), rgb(240,240,240));
}
#library span>span.fade{ left: 89%; }
div.activeitem span>span.fade{
	background: -webkit-linear-gradient(left, rgba(255,255,255,0), rgb(255,255,255));
	background: linear-gradient(to right, rgba(255,255,255,0), rgb(255,255,255));
}
/* file contents paper in exportwindow */
div.paper{
	background: white;
	min-height: 15px;
	padding: 10px 20px;
	margin: 5px 10px 10px 5px;
	white-space: pre;
	float: left;
	border: 1px solid #bbb;
	box-shadow: 0 2px 5px #888;
	font-family: monospace;
}

#about div.sectiontxt a.logo{
	display: inline-block;
	margin: 10px 0 0 10px;
}
#about a.logo img{
	display: inline-block;
	height: 100px;
}

#bottom{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40px;
	text-align: center;
	color: #dfac00;
	-webkit-transition: opacity .5s;
	transition: opacity .5s;
}
